package com.example.studyplanning.services;

import com.example.studyplanning.entity.Tips;

import java.util.List;

public interface TipsServices {
    List<Tips> findAllTips(Integer tipsID);
    Integer insertTips(Tips tips);
    Integer UpdateTipsLike(Tips tips);
    Integer SelectLikes(Integer tipsID);
    List<Tips> FindAllTips(String tipsTitle);
    Integer UpdateLike(Tips tips);
    Integer DelByID(Integer tipsID);
    List<Tips> SelectTipsByID(Integer userID);
    List<Tips> SelectTips(String date_time,Integer tipsID,String tipsTitle, Integer tipsType,String tipsContent, String userName);
    List<Tips> SelectTheTips(Integer tipsID,String tipsTitle,Integer tipsType, String tipsContent, String userName);
    List<Tips> CountDayTip();

}
